package net.wofly.cashier.table.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;

/**
 * 餐桌
 * @author lign
 * @version 1.0
 * @created 17-十月-2017 23:09:44
 */
@Data
@Entity
@javax.persistence.Table(name = "cashier_table_table")
@ApiModel(description = "餐桌")
public class Table {

	/**
	 * 餐桌编码，手工维护
	 */
	@Id
	@ApiModelProperty(value = "餐桌ID")
	private String tableID;
	@ApiModelProperty(value = "修改时间")
	private Long modifyDate;
	@ApiModelProperty(value = "状态，0：有效，1：无效")
	private Integer status;
	/**
	 * 餐桌就餐人数
	 */
	@ApiModelProperty(value = "餐桌就餐人数")
	private Integer tableForNum;

	/**
	 * 餐桌名称
	 */
	@ApiModelProperty(value = "餐桌名称")
	private String tableName;
	@ApiModelProperty(value = "餐桌状态")
	private Integer tableStatus;

	public Table(){

	}

}